﻿@{
    // title
    ViewBag.Title = "Delete trashed node permanently?";
    
    // add js
    Html.AddToBackEndContent("~/Areas/Proggy/Content/Scripts/Proggy.ContentEdit.js", BackEndContentType.JavaScript);
}
<h2>@ViewBag.Title</h2>
<div class="proggy-form-div">
    @using (Html.BeginForm())
    {
        @Html.Raw(HttpUtility.HtmlDecode(Html.ValidationSummary(false).ToHtmlString()))
        <p class="red">
            Are you sure you want to permanently delete this trashed node?</p>        
        <p>
            <input class="proggy-button-go" value="Delete" type="submit" />
            | @Html.ActionLink("Cancel", "Index", "", new { @class = "proggy-button-stop" })</p>
    }
</div>

<script type="text/javascript">
    // get
    var editorJs = new Proggy.ContentEdit();
    editorJs.CheckForValidationErrors();
</script>
